<?php
namespace app\common\model;

use think\Session;
use think\Model;

class OnlineMessage extends Model
{
    public function showList(){
        $wechat_info = session::get('wechat_info');
        $result = $this->field('id,title,remark,create_time')->where('auid',$wechat_info['id'])->select();
        return $result;
    }
}